const internal/runtime/maps.maxAvgGroupLoad
6 uses
internal/runtime/maps (current package)
group.go#L20: maxAvgGroupLoad = 7
map.go#L293: targetCapacity := (hint * abi.MapGroupSlots) / maxAvgGroupLoad
table.go#L129: if t.capacity > math.MaxUint16/maxAvgGroupLoad {
table.go#L132: return (t.capacity * maxAvgGroupLoad) / abi.MapGroupSlots
table.go#L596: return (t.capacity*maxAvgGroupLoad)/abi.MapGroupSlots - t.used - t.growthLeft
table_debug.go#L65: growthLeft := (t.capacity*maxAvgGroupLoad)/abi.MapGroupSlots - t.used - deleted
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |